<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <style>
      .texts {
        width: 200px;
        height: 30px;
        border-radius: 5px;
        padding: 5px;
        margin-bottom: 10px;
      }
      .radios {
        width: 12px;
        height: 12px;
        border-radius: 5px;
        padding: 5px;
        margin-bottom: 10px;
      }
    </style>
    <form action="#">
      <div>
        <label for="username">用户:</label>
        <input type="text" placeholder="输入账号" class="texts" id="username" />
      </div>
      <br />
      <div>
        <label for="password">密码:</label>
        <input
          type="password"
          placeholder="输入密码"
          class="texts"
          id="password"
        />
      </div>
      <br />
      <div>
        性别:
        <label><input type="radio" name="gender" class="radios" />男</label>
        <label><input type="radio" name="gender" class="radios" />女</label>
      </div>

      <br />
      <div>
        爱好:
        <label> <input type="checkbox" class="radios" />篮球</label>
        <label> <input type="checkbox" class="radios" />足球 </label>
        <label> <input type="checkbox" class="radios" />乒乓球 </label>
      </div>
      <br />
      <input type="file" accept=".jpg" />
      <br />
      <div>
        <label>
          个人信息:
          <textarea id="info" rows="5" cols="20"></textarea>
        </label>
      </div>
      <br />
      <button type="submit">提交</button>
      <button type="reset">重置</button>
    </form>
  </body>
</html>
